package com.dd.cloud.user.mapper.doctor;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dd.cloud.user.entity.doctor.PatientMedCardStudy;
import com.dd.cloud.user.req.doctor.ParamsMedCardMobPageReq;
import com.dd.cloud.user.req.doctor.ParamsMedCardReq;
import com.dd.cloud.user.res.doctor.PatientMedCardMobPageRes;
import com.dd.cloud.user.res.doctor.PatientMedCardPageRes;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 患者详细信息表 Mapper 接口
 * </p>
 *
 * @author czg
 * @since 2022-04-27
 */
public interface PatientMedCardStudyMapper extends BaseMapper<PatientMedCardStudy> {
    /**
     * 分页查询就诊卡
     *
     * @param page
     * @param req@
     * @return
     */
    Page<PatientMedCardPageRes> getPatientMedCardPageStudy(Page<?> page, @Param("req") ParamsMedCardReq req);

    /**
     * 分页查询患者病历卡信息
     *
     * @param iPage
     * @param req
     * @return
     */
    IPage<PatientMedCardMobPageRes> selPatientMedCardMobPageStudy(IPage<?> iPage, @Param("req") ParamsMedCardMobPageReq req);
}
